//
//  LLCountDownButton.h
//  Receipt
//
//  Created by admin on 2019/3/5.
//  Copyright © 2019 admin. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface LLCountDownButton : UIButton

@property (nonatomic, assign) NSUInteger count;     // 倒计时秒数
@property (nonatomic, copy) void (^sendVerifyCode)(UIButton *btn);  // 点击发送验证码

@property (nonatomic, strong) UIColor *normalBorderColor;       // 正常颜色
@property (nonatomic, strong) UIColor *normalTitleColor;

@property (nonatomic, strong) UIColor *disableBorderColor;  // 不能点击的颜色
@property (nonatomic, strong) UIColor *disableTitleColor;
@property (nonatomic, copy) void(^countDownFinished)(LLCountDownButton *btn); // 倒计时结束


@property (nonatomic, copy) BOOL(^interceptVerifyCodeBlock)(LLCountDownButton *btn);

// 点击发送按钮
- (void)countDownButtonClick:(UIButton *)sender;

@end

NS_ASSUME_NONNULL_END
